fid = fopen('../../data/in/iris_uncertain.txt', 'r');

[temp1] = fscanf(fid, '%d', [1,2]);
disp([temp1]);
M = temp1(2);
temp1(2) = 2*temp1(2)+1;
data = fscanf(fid, '%lf', [temp1(2), temp1(1)]);
fclose(fid);
data = data';
N = size(data, 1);
label_count = max(data(:, 1));
[parent, attrib, split, label_prob] = id3_train(data, 1:N, 5*ones([1, M]), 1, label_count);
parent = [0, parent];

id3_data_test(data, parent, attrib, split, label_prob, label_count);
